﻿<!DOCTYPE html>
<html>
<head>
    @Html.Partial("_Head")
</head>
<body>
    <script type="text/javascript" language="javascript">
        $(function () {

            //Google +1
            $.getScript("http://apis.google.com/js/plusone.js", null, true);

            //Twitter
            $.getScript("http://platform.twitter.com/widgets.js", null, true);

            //Facebook
            $.getScript("http://connect.facebook.net/en_US/all.js#xfbml=1", function () {

                $('body').append('<div id="fb-root"></div>');

                FB.init({ status: true, cookie: true, xfbml: true });

            }, true);
        });
    </script>
    <div id="wrapper">
        <div id="header">
            @Html.Partial("_Header")
        </div>
        @using VideoPortal.Extensions
        <div id="innerwrap">
            <div id="inner">
                <div id="content">
                    @RenderBody()
                </div>
                <div id="leftbar">
                    <h2>
                        Special Collections:</h2>
                    <ul>
                        @foreach (var item in ((DailyMotion.DataAccess.DailyMotionPagedResult)ViewBag.Categories).List)
                        {            
                            <li>@Html.ActionLink(item.Name, "Index", new { id = item.ID })
                            </li>
                        }
                        <script type="text/javascript"><!--
                            amazon_ad_tag = "nidade-20"; amazon_ad_width = "120"; amazon_ad_height = "240"; amazon_ad_border = "hide";//--></script>
                        <script type="text/javascript" src="http://www.assoc-amazon.com/s/ads.js"></script>
                    </ul>
                    
                    @Html.Social_AllButtons(ViewBag.Title as string)
                    <a href="http://www.youtube.com" rel="nofollow">
                        <img src="@Url.Content("~/Content/themes/images/yt_powered_by_black.png")" alt="Powered by Youtube" />
                    </a>
                </div>
            </div>
            <div id="rightbar">
                <h2>
              
            </div>
        </div>
        <div id="footer">
            @Html.Partial("_Footer")</div>
    </div>
</body>
</html>
